Method of aligning intra-oral digital 3d models

ABSTRACT

Methods for aligning a digital 3D model of teeth represented by a 3D mesh to a desired orientation within a 3D coordinate system. The method includes receiving the 3D mesh in random alignment and changing an orientation of the 3D mesh to align the digital 3D model of teeth with a desired axis in the 3D coordinate system. The methods can also detect a gum line in the digital 3D model to remove the gingiva from the model.

BACKGROUND

The use of digital 3D models in the dental market is becoming more prevalent. These models can be acquired in vivo using an intra-oral scanner or off-line by laser scanning of a traditional impression. The digital 3D models can be used tom various clinical tasks including treatment planning, and crown and implant preparation. The models can also be used in diagnostic aides, for example to assess tooth wear and gingival recession. The digital 3D models are usually obtained in a random orientation and not fixed to a particular coordinate system. Accordingly, a need exists to align intra-oral digital 3D models to a given coordinate system for diagnostic or other purposes.

SUMMARY

Methods for aligning a digital 3D model of teeth, consistent with the present invention, include receiving a digital 3D model of teeth represented by a 3D mesh in random alignment and changing an orientation of the 3D mesh to align the digital 3D model of teeth with a desired axis within a 3D coordinate system.

Methods for modifying and aligning a digital 3D model of teeth, consistent with the present invention, include receiving a digital 3D model of teeth with associated gingiva represented b a 3D mesh in random alignment, detecting a gum line in the digital 3D model, and removing the gingiva from the digital 3D model. The digital 3D model without the gingiva is aligned with a desired axis within a 3D coordinate system.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are incorporated in and constitute a part of this specification and, together with the description, explain the advantages and principles of the invention. In the drawings,

FIG. 1 is a diagram of a system for aligning digital 3D models based upon intra-oral 3D scans or 3D scans from impressions;

FIG. 2 illustrates a 3D model of teeth from intra-oral scans;

FIG. 3 is a flow chart of methods for aligning and modifying digital 3D models; and

FIG. 4 is a diagram of a digital 3D model aligned in a desired orientation within a 3D coordinate system and with the gum line detected.

DETAILED DESCRIPTION

FIG. 1 is a diagram of a system 10 for aligning digital 3D models based upon intra-oral 3D scans. System 10 includes a processor 20 receiving digital 3D models of teeth (12) from intra-oral 3D scans or scans of impressions of teeth. System 10 also includes an electronic display device 16, such as a liquid crystal display (LCD) device, for displaying digital 3D models and an input device 18 for receiving user commands or other information. An example of digital 3D model of a patient's teeth from a scan is shown in FIG. 2. Systems to generate digital 3D images or models based upon image sets from multiple views are disclosed in U.S. Pat. Nos. 7,956,862 and 7,605,817, both of which are incorporated herein by reference as if full set forth. These systems can use an intra-oral scanner to obtain digital images from multiple views of teeth or other intra-oral structures, and those digital images are processed to generate a digital 3D model representing the scanned teeth. System 10 can be implemented with, for example a desktop, notebook, or tablet computer. System 10 can receive the 3D scans locally or remotely via a network.

The 3D scans addressed herein are represented as triangular meshes. The triangular mesh is common representation of 3D surfaces and has two components. The first component, referred to as the vertices of the mesh, are simply the coordinates of the 3D points that have been reconstructed on the surface i.e., a point cloud. The second component, the mesh faces, encodes the connections between points on the object and is an efficient way of interpolating between the discrete sample points on the continuous surface. Each face is a triangle defined by three vertices, resulting in a surface that can be represented as a set of small triangular planar patches.

FIG. 3 is a flow chart of methods 1-4 for aligning digital 3D models and optionally removing the gingiva from the models. These methods can be implemented in software or firmware modules, for example, for execution by processor 20. These methods can alternatively be implemented in hardware modules or a combination of software and hardware. The methods 1-4 receive a 3D mesh in random alignment (step 30) and generate a 3D mesh aligned with a desired axis in a 3D coordinate system (step 32). The 3D mesh is triangular mesh having the components described above.

In one particular embodiment, the alignment results in an occlusal plane being aligned to a desired orientation within a 3D coordinate system. The occlusal plane can be determined by finding points at the top of a tooth or teeth in a digital 3D model of the teeth and fitting a plane to those points. In one example, a desired orientation aligns the occlusal plane with the Y axis with the teeth pointing up in the model, although the occlusal plane can also be aligned with other axes using the alignment methods. An example of a 3D coordinate system includes an X axis, a Y axis, and Z axis with each of the axes being mutually orthogonal with one another.

Alignment Method 1—Aggregation of Normals

Method 1 involves the following steps: compute the normals of the mesh at each face or vertex, or at a subset of the faces or vertices (step 34); compute an aggregate of the surface normals to determine a representative normal direction by calculating the mean of the surface normals or, alternatively, calculating the sum or the median of the surface normals (step 36) and compute and apply a rotation matrix to align the mean normal with a desired axis (step 38). There are several methods that can compute the rotation matrix between two vectors, the mean of the normals with the desired spatial orientation. The exemplary method below uses Rodrigues formula.

For two vectors a and b, one can find the axis of rotation x by computing the normalized cross product, and the angle between them, θ, as follows:

$\lambda = \frac{a \times b}{{a \times h}}$ $\theta = {\cos^{- 1}\frac{a \cdot b}{{a} \cdot {b}}}$

-   -   Rodrigues formula yields the rotation matrix [R] to transform         from vector a to vector b.

[R]=[I]+x sin θ+x ²(1−cos θ)

-   -   Here [I] is the 3×3 identity matrix.

Table 1 provides exemplary pseudocode for implementing a alignment method 1.

TABLE 1 Input: a 3D mesh with a set of vertices V specified in 3D coordinate system X, Y and Z, Y represents the vertical axis or the general direction in which the teeth point upwards. The mesh also has a set of triangulations or faces F based on the vertices. Output: aligned mesh where the occlusal surface of the teeth are roughly parallel to the XZ plane and perpendicular to the vertical axis, in this case the Y axis. Method steps: 1 For each vertex v_(i) in V compute the normal direction n_(i). 2 Compute the sum of normal vectors of all vertices and determine the direction as n_sum. Alternatively, the mean or median of the normal directions can be used. 3 Determine the direction and angle of rotation to align n_sum with desired axis (such as Y) using Rodrigues' fonnula as follows: a = n_sum b = Y direction of rotation: x = a × b / ||a × b|| angle of rotation: θ = cos⁻¹(a.b/||a||.||b||) Where x denotes cross product and . denotes the dot product of vectors Rotation matrix to be applied to vertices: [R] = [I] + x sin θ + x² (1 − cosθ)

Alignment Method 2—Open Mesh Assumption

Method 2 involves the following steps: compute a grid of vectors aligned with the desired direction of orientation (step 40); project the vectors through the mesh and count the number of intersections with mesh faces (step 42); compute the cost function as the total number of cases, where the number of intersections for each grid line with faces on the mesh is one (step 44); and rotate the model and repeat steps 42 and 44 until the cost function is maximized (step 46).

This approach makes the assumption that the model represents an open topographic surface, i.e. the surface does not self-intersect or close on itself. This model is often the ease with 3D scans of dentitions. To compute the final transformation matrix, this method projects a set of parallel rays (also parallel to a fixed desired axis) onto the mesh; the grid spacing of those rays is chosen based on the model resolution and computational limitations. The cost function is a ratio of the number of rays that intersected one face to the number of rays that intersected more than one face:

${{f(\Theta)} = \frac{{sum}\left( {n==1} \right)}{{sum}\left( {n > 1} \right)}},$

n is the number of faces each ray passes through The method rotates the model around some given axis (θ) and maximizes the cost function until a local maximum is found.

Table 2 provides exemplary pseudocode for implementing alignment method 2.

TABLE 2 Input: a 3D mesh with a set of vertices V specified in 3D coordinate system X, Y and Z, Y represents the Vertical axis or the general direction in which the teeth point upwards. The mesh also has a set of triangulations or faces F based on the vertices. Output: aligned mesh where the occlusal surface of the teeth are roughly parallel to the XZ plane and perpendicular to the vertical axis, in this case the Y axis. Method steps: 1 Compute a grid of vectors parallel to the Y axis and spanning the XZ space of the input mesh, in particular uniformly sample min(X) to max(X) and min(Y) to max(Y) with vectors pointing, along Y axis. 2 Perform a rotation of the mesh by a chosen angle about X and Z axes. 3 Compute the number of vectors in the grid that intersect with exactly one face of the mesh as N. 4 Adjust the rotation angles about X and Z. 5 Repeat steps 2 to 4 until a maximum number of iterations or until the sum N in step 3 is maximized.

Alignment Method 3—Regression or Plane Fitting

Method 3 involves the following steps: subtract the mean of data points to centralize the data points (step 48): apply a regression or plane fit algorithm (e.g., Support Vector Regression (SVR) function) to find the occlusal plane (step 50); and find the normal direction of the occlusal plane (step 52). Alternatively, principal component analysis (PCA Robust PCA and other forms of regression such as Generalized Linear Models (GLM), Multivariate Regression can also be used.

This alignment method can be implemented using an SVR method to find the occlusal plane fitted to a mesh of the teeth in the digital 3D model. The alignment can be used to have the teeth in the digital 3D model essentially aligned with the Y axis. The alignment can use the LIBSVM toolbox and ε−SVR method. The kernel is chosen to be linear and ε5. The best value of epsilon can be chosen based on many training meshes. The training is based en the assumption that teeth are roughly pointing up along the Y axis. The output is sample points from the occlusal plane which is given to a simple PCA method to find the normal direction. Alternatively, the SVR can also directly return the equation of the plane ca best fit. The normal direction can then be computed from this plane. SVR uses a linear loss function with a zero part within the margins which performs better for teeth dataset than the quadratic loss function in regular least square regression methods. It helps to decrease the effect of gingiva cut-lines which can be very jagged and bumpy in mesh scans. It also tries to rule out the vertical points on the teeth (buccal part) and give more weight of importance to the horizontal points on teeth (cuspal part) M determining the occlusal plane orientation. The RANSAC method and Robust PCA method can alternatively be used for the alignment.

Table 3 provides exemplary pseudocode for implementing alignment method 3.

TABLE 3 Input: a 3D mesh with a set of vertices V specified in 3D coordinate system X, Y and Z, Y represents the rough direction of vertical axis in which the teeth point upwards. Output: the normal vector perpendicular to occlusal plane which represents the desired upward direction of teeth. Assumptions: Teeth are roughly pointing up along the Y axis. The mesh has been truncated below the gum line. Method steps: 1 Subtract the mean of data points to centralize the data points around (0, 0, 0). 2 Apply the SVR with linear kernel and margin value ε to find the occlusal plane. 3 Find the normal direction of the occlusal plane by geometrical methods or applying a simple PCA.

Alignment Method 4—Gum Detection and Semi-Removal

Method 4 involves the following steps: detect the gum line in the model using correlation on curvature or a classification function based upon mesh surface properties (step 54): fit a surface to the gum line points using a modified ridge estimator (step 56); remove all vertices below the surface corresponding to the gingiva (step 58); and align the remaining model using any of the above methods 1-3 (step 60). This method 4 can align the model before detecting the gum line and realign the model after guru line detection, or only align the model after gum line detection.

For step 54, alternatively a classifier using multiple surface features such as curvature, normal direction, mesh local covariance, or other such features can also be used to predict if a vertex lies on the gum line. Some examples of the classifiers are linear discriminant classifier, decision tree, support vector machines, and the like.

For step 56, the method detects most gum line points, not necessarily all gum line points, or at least a sufficient number of gum line points to tit a surface to the gum line.

Table 4 provides exemplary pseudocode for implementing alignment and gum line detection method 4 using alignment method 1.

TABLE 4 Input: a 3D mesh with a set of vertices V specified in 3D coordinate system X, Y and Z, Y represents the vertical axis or the general direction in which the teeth point upwards. The mesh also has a set of triangulations or faces F based on the vertices. Output: aligned mesh where the occlusal surface of the teeth are roughly parallel to the XZ plane and perpendicular to the vertical axis, this case the Y axis, and the mesh below the gum line is truncated. Method steps: 1 Align mesh with aggregation of normals approach, as explained in method 1. 2 Compute curvature of each vertex on the mesh. 3 Compute boundary points of the mesh. 4 Compute vertex ring for every vertex, which is a matrix of connectivity 5 Gum line Detection: This method helps in alignment of scans of dentitions especially quadrant scans. i. Find gum line points.  a. Iterate through every point along the border and follow it to the peak of the model storing the curvature at each point, referred to as a 1D curvature map.  b. Uses an absolute value function as the template.  c. Correlate template with curvature map, find peak. Discard if it is below some threshold. ii. Connect points for continuity.  a. Expand gum line by including one additional connected vertex.  b. Label each connected component of gum line vertices and score them based on the number of vertices connected.  c. Perform Dijkstra's shortest path inversely weighted by curvature (low curvature vertices are highly weighted).  d. Repeat step (ii)(c) until all segments have been connected, or the sum of the scores has been maximized. 6 Fit a surface to gum line points. 7 Remove portions below the surface (gingiva in the model) that intersect the mesh. 8 Realign the model with gingiva removed using aggregation of normals (method 1) or other alignment methods.

FIG. 4 is a diagram of a digital 3D model aligned with a desired orientation and with the gum fine detected. For example, the digital 3D model of teeth 70 has been aligned with the Y axis (teeth pointing up along with Y axis), and the gum line 72 has been identified with portions of the gingiva below gum fine 72 removed from the digital 3D model. In this example, the alignment results in a desired orientation of the occlusal plane generally parallel with or extending along, the XZ plane and perpendicular to, or intersecting with, the Y axis. 

1. A method for aligning a digital 3D model of teeth, comprising steps of: receiving a digital 3D model of teeth represented by a 3D mesh in random alignment; computing surface normals for at least a subset of each face of the mesh; computing an aggregate of the surface normals to determine a representative normal direction; and computing and applying a rotation matrix to align the representative normal direction with a desired axis within a 3D coordinate system.
 2. The method of claim 1, wherein the computing the aggregate step comprises calculating one of a mean, a sum, or a median of the surface normals.
 3. A method for aligning a digital 3D model of teeth, comprising steps of: receiving a digital 3D model of teeth represented by a 3D mesh in random alignment; computing a grid of vectors aligned with a desired axis within a 3D coordinate system; projecting the vectors through the mesh to count a number of intersections of the vectors with faces of the mesh; computing a cost function for the mesh based upon the number of intersections; and rotating the mesh and repeating the projecting and the computing the cost function steps until the cost function is maximized to align the mesh with the desired axis.
 4. A method liar aligning a digital 3D model of teeth, comprising steps of: receiving a digital 3D model of teeth represented by a 3D mesh in random alignment; applying a regression or plane fit algorithm to data points in the mesh to find a plane that best fits the digital 3D model of teeth; and finding a normal direction of the plane to align the mesh with a desired axis within a 3D coordinate system.
 5. The method of claim 4, further comprising subtracting a mean of the data points to centralize the data points.
 6. The method of claim 4, wherein the finding step comprises using a principal component analysis (PCA) or a Robust PCA to find the normal direction.
 7. A method for modifying and aligning a digital 3D model of teeth, comprising steps of: receiving a digital 3D model of teeth with associated gingiva represented by a 3D mesh in random alignment; detecting a gum line in the digital 3D model; fitting a surface to points of the gum line using a modified ridge estimator; removing vertices on a side of the surface corresponding with the gingiva to remove the gingiva from the digital 3D model; and aligning the digital 3D model without the gingiva with a desired axis within a 3D coordinate system.
 8. The method of claim 7, wherein the detecting step comprises using a classification function based on mesh surface shape properties of the mesh to detect the gum line.
 9. The method of claim 7, wherein the detecting step comprises using a correlation on curvature function to detect the gum line.
 10. The method of claim 7, wherein the alignment step comprises: computing surface normals for at least a subset of each face of the mesh; computing an aggregate of the surface normals to determine a representative normal direction; and computing and applying a rotation matrix to align the representative normal direction with a desired axis within a 3D coordinate system.
 11. The method of claim 7, wherein the alignment step comprises: computing a grid of vectors aligned with the desired axis within the 3D coordinate system; projecting the vectors through the mesh to count a number of intersections of the vectors with faces of the mesh; computing a cost function for the mesh based upon the number of intersections; and rotating, the mesh and repeating the protecting and the computing the cost function steps until the cost function is maximized to align the mesh with the desired axis.
 12. The method of claim 7, wherein the alignment step comprises: applying a regression or plane fit algorithm to data points in the mesh to find the occlusal plane of the digital 3D model; and finding a normal direction of the occlusal plane to align the mesh with the desired axis within the 3D coordinate system.
 13. A system for aligning a digital 3D model of teeth, comprising: a module for receiving a digital 3D model of teeth represented by a 3D mesh in random alignment; a module for computing surface normals for at least a subset of each face of the mesh; a module for computing an aggregate of the surface normals to determine a representative normal direction; and a module for computing and applying a rotation matrix to align the representative normal direction with a desired axis within a 3D coordinate system.
 14. The system of claim 13, wherein the module for computing the aggregate comprises a module for calculating one of a mean, a sum, or a median of the surface normals.
 15. A system for aligning a digital 3D model of teeth, comprising: a module for receiving a digital 3D model of teeth represented by a 3D mesh in random alignment; a module for computing a grid of vectors aligned with a desired axis within a 3D coordinate system; a module for projecting the vectors through the mesh to count a number of intersections of the vectors with faces of the mesh; a module for computing, a cost function for the mesh based upon the number of intersections; and a module for rotating the mesh and repeating the projecting and the computing the cost function until the cost function is maximized to align the mesh with the desired axis.
 16. A system for aligning a digital 3D model of teeth, comprising: a module for receiving a digital 3D model of teeth represented by a 3D mesh in random alignment; a module for applying a regression or plane lit algorithm to data points in the mesh to find an occlusal plane of the digital 3D model of teeth; and a module for finding a normal direction of the occlusal plane to align the mesh with a desired axis within a 3D coordinate system.
 17. The system of claim 16, further comprising a module for subtracting a mean of data points to centralize the data points.
 18. The system of claim 16, wherein the module for finding comprises a module for using a principal component analysis (PCA) or a Robust PCA to find the normal direction.
 19. A system for modifying and aligning a digital 3D model of teeth, comprising: a module for receiving a digital 3D model of teeth with associated gingiva represented by a 3D mesh in random alignment; a module for detecting a gum line in the digital 3D; a module for fitting a surface to points of the gum line using, a modified ridge estimator; as module for removing vertices on a side of the surface corresponding with the gingiva to remove the gingiva from the digital 3D model; and a module for aligning the digital 3D model without the gingiva with a desired axis within a 3D coordinate system.
 20. The system of claim 19, wherein the module for detecting comprises a module for using a classification function based on mesh surface shape properties of the mesh to detect the gum line.
 21. The system of claim 19, wherein the module for detecting comprises a module for using a correlation on curvature function to detect the gum line.
 22. The system of claim 19, wherein the module for aligning comprises: a module for computing surface normals for at least a subset of each face of the mesh; a module for computing an aggregate of the surface normals to determine a representative normal direction; and a module for computing and applying a rotation matrix to align the representative normal direction with a desired axis within as 3D coordinate system.
 23. The system of claim 19, wherein the module for aligning comprises: a module for computing a grid of vectors aligned with the desired axis within the 3D coordinate system; a module for projecting the vectors through the mesh to count a number of intersections of the vectors with faces of the mesh; a module for computing a cost function for the mesh based upon the number of intersections; and a module for rotating the mesh and repeating the projecting and the computing the cost function until the cost function is maximized to align the mesh with the desired axis.
 24. The system of claim 19, wherein the module for aligning, comprises: a module for applying a regression or plane fit algorithm to data points in the mesh to find the occlusal plane of the digital 3D model; and a module for finding a normal direction of the occlusal plane to align the mesh with the desired axis within the 3D coordinate system. 